package org.jeecg.modules.job.wms.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.job.wms.entity.WmsProExp;
import org.jeecg.modules.job.wms.entity.WmsWorkExp;
import org.jeecg.modules.job.wms.entity.WmsEduExp;
import org.jeecg.modules.job.wms.entity.WmsJobExpect;
import org.jeecg.modules.job.wms.entity.WmsResumeFile;
import org.jeecg.modules.job.wms.entity.WmsResume;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 个人简历
 * @Author: jeecg-boot
 * @Date:   2022-12-18
 * @Version: V1.0
 */
public interface IWmsResumeService extends IService<WmsResume> {


	/**
	 * 分页查询动态内容
	 * @param page
	 * @param params 参数信息
	 * @return
	 */
	public IPage<WmsResume> getResumePageList(Page<WmsResume> page, WmsResume params);


	/**
	 * 查询简历详情
	 * @param resume
	 * @return
	 */
	WmsResume getResume(WmsResume resume);

	/**
	 * 更新简历基本信息
	 * @param param
	 * @return
	 */
	boolean updateResumeInfo(WmsResume param);


	/**
	 * 添加一对多
	 *
	 * @param wmsResume
	 * @param wmsProExpList
	 * @param wmsWorkExpList
	 * @param wmsEduExpList
	 * @param wmsJobExpectList
	 * @param wmsResumeFileList
	 */
	public void saveMain(WmsResume wmsResume,List<WmsProExp> wmsProExpList,List<WmsWorkExp> wmsWorkExpList,List<WmsEduExp> wmsEduExpList,List<WmsJobExpect> wmsJobExpectList,List<WmsResumeFile> wmsResumeFileList) ;
	
	/**
	 * 修改一对多
	 *
   * @param wmsResume
   * @param wmsProExpList
   * @param wmsWorkExpList
   * @param wmsEduExpList
   * @param wmsJobExpectList
   * @param wmsResumeFileList
	 */
	public void updateMain(WmsResume wmsResume,List<WmsProExp> wmsProExpList,List<WmsWorkExp> wmsWorkExpList,List<WmsEduExp> wmsEduExpList,List<WmsJobExpect> wmsJobExpectList,List<WmsResumeFile> wmsResumeFileList);
	
	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
